<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0'/>
<title>点亮一盏元宵爆趣花灯</title>
<link href="{$_C.hy_path}css/lantern/index.css" type="text/css" rel="stylesheet">
<link href="{$_C.hy_path}css/lantern/animation.css" type="text/css" rel="stylesheet">
<link href="{$_C.hy_path}css/lantern/keyframes.css" type="text/css" rel="stylesheet">
</head>

<body>
<div class="content" id="content">
	<!--第一页-->
    <div class="page page1">
    	<div class="p1_zi"><img src="{$_C.hy_path}images/lantern/p1_zi.gif"></div>
    	<b class="tips"><img src="{$_C.hy_path}images/lantern/xs.png"></b>
    </div>
    <!--第二页-->
    <div class="page page2 hide">
		<div class="btnu">
			<div class="click"></div>
		</div>
		<div class="cheng">
			<!--闭月羞花-->
			<div class="biyue"></div>
			<b class="tips"><img src="{$_C.hy_path}images/lantern/p2/ico.png"></b>
		</div>
		<div class="cheng">
			<div class="jihou"></div>
			<b class="tips"><img src="{$_C.hy_path}images/lantern/p2/ico.png"></b>
		</div>
		<div class="cheng">
			<div class="houzi"></div>
			<b class="tips"><img src="{$_C.hy_path}images/lantern/p2/ico.png"></b>
		</div>
		<div class="cheng">
			<div class="bubu"></div>
			<b class="tips"><img src="{$_C.hy_path}images/lantern/p2/ico.png"></b>
		</div>
        <div class="cheng">
			<div class="huanjin"></div>
			<b class="tips"><img src="{$_C.hy_path}images/lantern/p2/ico.png"></b>
		</div>
    </div>
    <!--第三页-->
    <div class="page page3 hide">
		<div class="guan"><img src="{$_C.hy_path}images/lantern/p3/guan.png"></div>
		<div class="jjig"><img src="{$_C.hy_path}images/lantern/p3/jjig.gif"></div>
		<div class="btn_zai"><img src="{$_C.hy_path}images/lantern/p3/btn_zai.png"></div>
		<div class="btn_son" onClick="showShareBox()"><img src="{$_C.hy_path}images/lantern/p3/btn_son.png"></div>
    </div>
</div>
<div class="sharebox hide" id="sharebox" onClick="closeSharebox()">
	<img src="{$_C.hy_path}images/lantern/p3/fei.png">
</div>
<audio id="musicfx" loop autoplay>
    <source src="{$_C.hy_path}mp3/xiq.mp3" type="audio/mpeg">
</audio>
<script type="text/javascript" src="{$_C.hy_path}js/zepto.min.js"></script>
<script type="text/javascript" src="{$_C.hy_path}js/touch.js"></script>
<script type="text/javascript" src="{$_C.hy_path}js/lantern/index.js"></script>

  <script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
        <script>
		  wx.config({
		    debug: false, 
		   appId: '{$jsdk.appId}',
				timestamp: {$jsdk.timestamp},
				nonceStr: '{$jsdk.nonceStr}',
				signature: '{$jsdk.signature}',
		    jsApiList: [
		      // 所有要调用的 API 都要加到这个列表中
		      'onMenuShareTimeline',
		      'onMenuShareAppMessage',
		    
		    ]
		  });
		
		  wx.ready(function () {
 			wx.onMenuShareTimeline({
			    title: '{$info.name}在广府庙会为您点亮一盏元宵花灯',
			     link:'http://g4.airefp.com/ws/index.php?g=mobile&m=message&a=lantern',
			     imgUrl: 'http://g4.airefp.com/ws/Mobile/Webroot/gf/images/lantern/share-info.jpg',
			      trigger: function (res) {
			       
			      },
			      success: function (res) {
			    	 
			      },
			      cancel: function (res) {
			       
			      },
			      fail: function (res) {
			      }
		    });
		    
			wx.onMenuShareAppMessage({
			    link:'http://g4.airefp.com/ws/index.php?g=mobile&m=message&a=lantern',
			     title: '为您为TA在广府庙会点亮元宵节花灯',
			    desc: '{$info.name}在广府庙会为您点亮一盏元宵花灯',
			  	imgUrl: 'http://g4.airefp.com/ws/Mobile/Webroot/gf/images/lantern/share-info.jpg',
			    success: function () { 
			    	
			    },
			    cancel: function () { 
			        // 用户取消分享后执行的回调函数
			    }
		});

 	 });
</script>
</body>
</html>
